package com.ruoyi.yh.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章对象 yh_article_info
 * 
 * @author ruoyi
 * @date 2022-03-15
 */
public class YhArticleInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文章ID */
    private Long articleId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 文章类别 */
    @Excel(name = "文章类别")
    private String articleType;

    /** 文章标题 */
    @Excel(name = "文章标题")
    private String articleTitle;

    /** 主体标题 */
    @Excel(name = "主体标题")
    private String articleThemetitle;

    /** 文章摘要 */
    @Excel(name = "文章摘要")
    private String articleAbstract;

    /** 文章作者 */
    @Excel(name = "文章作者")
    private String articleAuthor;

    /** 转自 */
    @Excel(name = "转自")
    private String articleTrunfrom;

    /** 加入推荐(app首页展示)1显示 */
    @Excel(name = "加入推荐(app首页展示)1显示")
    private String articleRecommend;

    /** 缩略图 */
    @Excel(name = "缩略图")
    private String attachmentUrl;

    /** 文章内容 */
    @Excel(name = "文章内容")
    private String articleContent;

    /** 文章内容(编辑器的内容) */
    @Excel(name = "文章内容(编辑器的内容)")
    private String articlePurecontent;

    /** 单位代号 */
    @Excel(name = "单位代号")
    private String articleUnit;

    /** 0待审核1审核通过2审核不通过 */
    @Excel(name = "0待审核1审核通过2审核不通过")
    private String auditStatus;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private String iseffect;

    /** 时间戳 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间戳", width = 30, dateFormat = "yyyy-MM-dd")
    private Date systemtime;

    /** 浏览数 */
    @Excel(name = "浏览数")
    private Long articleBrowse;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Long articleFabulous;

    /** 收藏数 */
    @Excel(name = "收藏数")
    private Long articleCollectNum;

    /** 评论数 */
    @Excel(name = "评论数")
    private Long articleComment;

    /** 设置到首页好文 */
    @Excel(name = "设置到首页好文")
    private String articleGood;

    /** 设置到首页主题 */
    @Excel(name = "设置到首页主题")
    private String articleTheme;

    /** 推送时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "推送时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pushTime;

    public void setArticleId(Long articleId) 
    {
        this.articleId = articleId;
    }

    public Long getArticleId() 
    {
        return articleId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setArticleType(String articleType) 
    {
        this.articleType = articleType;
    }

    public String getArticleType() 
    {
        return articleType;
    }
    public void setArticleTitle(String articleTitle) 
    {
        this.articleTitle = articleTitle;
    }

    public String getArticleTitle() 
    {
        return articleTitle;
    }
    public void setArticleThemetitle(String articleThemetitle) 
    {
        this.articleThemetitle = articleThemetitle;
    }

    public String getArticleThemetitle() 
    {
        return articleThemetitle;
    }
    public void setArticleAbstract(String articleAbstract) 
    {
        this.articleAbstract = articleAbstract;
    }

    public String getArticleAbstract() 
    {
        return articleAbstract;
    }
    public void setArticleAuthor(String articleAuthor) 
    {
        this.articleAuthor = articleAuthor;
    }

    public String getArticleAuthor() 
    {
        return articleAuthor;
    }
    public void setArticleTrunfrom(String articleTrunfrom) 
    {
        this.articleTrunfrom = articleTrunfrom;
    }

    public String getArticleTrunfrom() 
    {
        return articleTrunfrom;
    }
    public void setArticleRecommend(String articleRecommend) 
    {
        this.articleRecommend = articleRecommend;
    }

    public String getArticleRecommend() 
    {
        return articleRecommend;
    }
    public void setAttachmentUrl(String attachmentUrl) 
    {
        this.attachmentUrl = attachmentUrl;
    }

    public String getAttachmentUrl() 
    {
        return attachmentUrl;
    }
    public void setArticleContent(String articleContent) 
    {
        this.articleContent = articleContent;
    }

    public String getArticleContent() 
    {
        return articleContent;
    }
    public void setArticlePurecontent(String articlePurecontent) 
    {
        this.articlePurecontent = articlePurecontent;
    }

    public String getArticlePurecontent() 
    {
        return articlePurecontent;
    }
    public void setArticleUnit(String articleUnit) 
    {
        this.articleUnit = articleUnit;
    }

    public String getArticleUnit() 
    {
        return articleUnit;
    }
    public void setAuditStatus(String auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public String getAuditStatus() 
    {
        return auditStatus;
    }
    public void setIseffect(String iseffect) 
    {
        this.iseffect = iseffect;
    }

    public String getIseffect() 
    {
        return iseffect;
    }
    public void setSystemtime(Date systemtime) 
    {
        this.systemtime = systemtime;
    }

    public Date getSystemtime() 
    {
        return systemtime;
    }
    public void setArticleBrowse(Long articleBrowse) 
    {
        this.articleBrowse = articleBrowse;
    }

    public Long getArticleBrowse() 
    {
        return articleBrowse;
    }
    public void setArticleFabulous(Long articleFabulous) 
    {
        this.articleFabulous = articleFabulous;
    }

    public Long getArticleFabulous() 
    {
        return articleFabulous;
    }
    public void setArticleCollectNum(Long articleCollectNum) 
    {
        this.articleCollectNum = articleCollectNum;
    }

    public Long getArticleCollectNum() 
    {
        return articleCollectNum;
    }
    public void setArticleComment(Long articleComment) 
    {
        this.articleComment = articleComment;
    }

    public Long getArticleComment() 
    {
        return articleComment;
    }
    public void setArticleGood(String articleGood) 
    {
        this.articleGood = articleGood;
    }

    public String getArticleGood() 
    {
        return articleGood;
    }
    public void setArticleTheme(String articleTheme) 
    {
        this.articleTheme = articleTheme;
    }

    public String getArticleTheme() 
    {
        return articleTheme;
    }
    public void setPushTime(Date pushTime) 
    {
        this.pushTime = pushTime;
    }

    public Date getPushTime() 
    {
        return pushTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("articleId", getArticleId())
            .append("userId", getUserId())
            .append("articleType", getArticleType())
            .append("articleTitle", getArticleTitle())
            .append("articleThemetitle", getArticleThemetitle())
            .append("articleAbstract", getArticleAbstract())
            .append("articleAuthor", getArticleAuthor())
            .append("articleTrunfrom", getArticleTrunfrom())
            .append("articleRecommend", getArticleRecommend())
            .append("attachmentUrl", getAttachmentUrl())
            .append("articleContent", getArticleContent())
            .append("articlePurecontent", getArticlePurecontent())
            .append("articleUnit", getArticleUnit())
            .append("auditStatus", getAuditStatus())
            .append("iseffect", getIseffect())
            .append("systemtime", getSystemtime())
            .append("articleBrowse", getArticleBrowse())
            .append("articleFabulous", getArticleFabulous())
            .append("articleCollectNum", getArticleCollectNum())
            .append("articleComment", getArticleComment())
            .append("articleGood", getArticleGood())
            .append("articleTheme", getArticleTheme())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("pushTime", getPushTime())
            .toString();
    }
}
